package cn.wen.yinxiu.works.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.wen.yinxiu.works.entity.WeekReportEntity;

/**
 *
 * @ClassName: NewspagerService
 * @Author å°é£
 * @Email coderwen22@163.com
 * @Date 2023-06-03 00:33:16
 * @Description: 的Service类
 */
public interface WeekReportService extends IService<WeekReportEntity> {

    /**
     * 通过开始时间 + 用户ID 获取周报数据
     * @param userId
     * @param preWeekStartTime
     * @return
     */
    WeekReportEntity queryWeekReportInfo(Long userId, String preWeekStartTime);

    /**
     * 创建周报信息
     *
     * @param userId
     * @return
     */
    boolean createWeekReportInfo(Long userId);
}

